<template>
<div>
    <h1>我是首页</h1>
    <button @click="faceClick">面授课</button>
    <alerts></alerts>
    <loading v-bind:status="status"></loading>
</div>
</template>
<script>
export default {
    name: 'IndexList',
    data () {
        return {
            msg: 'Welcome to Your Vue.js App',
            status: false
        }
    },
    methods: {
        faceClick(){
            console.log(this.$store.state.token)
            this.$http.post('/api/v1.0/user/faceCourseList').then(function(arr){
                console.log(arr)
            })
        }
    }
}
</script>

